
 // 游戏状态类，保存游戏的核心数据

public class GameState {
    public static final int ROWS = 8;
    public static final int COLS = 8;
    public static final int KIND_COUNT = 15;
    public static final int CELL_SIZE = 60;
    public static final int TIMER_LIMIT = 120;
    public static final int HINT_DURATION = 3000;
    public static final int MAX_HINTS = 5;
    public static final int MAX_SHUFFLES = 3;

    public final int[][] map = new int[ROWS][COLS];
    public boolean gameOver = false;
    public int score = 0;
    public int hintsLeft = MAX_HINTS;
    public int shufflesLeft = MAX_SHUFFLES;
    public long startTime;
}